
#pragma once


class CNetStringPacker  
{
public:
	CNetStringPacker			(void);
	virtual ~CNetStringPacker	(void);
	
	bool	add_string			(const char* p_sz_string);

	bool	get_string			(UINT u_index, char* p_sz_str_buf, UINT u_buf_size);
	UINT	get_str_amount		(void);
	UINT	get_size			(void);

	void	set_buf				(char* p_buf, UINT u_buf_size);


private:
	char*	m_p_buf;
	UINT	m_u_buf_size;
};

